This function returns a reference to the modified general string object
str1 .
.TP
\f3inline friend long strlen (const Gen_String& \f2str\f3);\f1
Returns the number of characters (length) of the general string
str .
.TP
\f3friend Gen_String& strncat (Gen_String& \f2str1\f3, const char* \f2str2\f3, int \f2n\f3);\f1
Concatenates some number of characters \f2n\f1 from a character string
str2
to a general string object
str1 .
This function returns a reference to the modified
general string object \f2str1\f1. If a negative length is specified, an
\f3\f3Error\f1\f1
exception is raised.
.TP
\f3friend Gen_String& strncat (Gen_String& \f2str1\f3, const Gen_String& \f2str2\f3, int \f2n\f3);\f1
Concatenates some number of characters \f2n\f1 from one general string object
str2
to another general string object
str1 .
This function returns a reference to the modified general string object
str1 .
If a negative length is specified, an
\f3\f3Error\f1\f1
exception is raised.
.TP
\f3friend Gen_String& strncpy (Gen_String& \f2str1\f3, const char* \f2str2\f3, long \f2n\f3);\f1
Copies some number of characters \f2n\f1 from the character string \f2str2\f1 into the general string object \f2str1\f1. This function returns a reference to the modified
general string object \f2str1\f1. If a negative number is specified, an
Returns the double floating-point value represented by the characters in the
general string object
str .
If the second argument is non-zero, it is set to the
character terminating the converted string value.
.TP
\f3friend long strtol (const Gen_String& \f2str\f3, char** \f2ptr\f3 = NULL, int \f2radix \f1= 10\f3);\f1
Returns the long number represented by the characters in the general string
object \f2str\f1. If no specific radix is specified, the default radix is decimal. If the second argument is non-zero, it is set to the character terminating the converted string value.
.TP
\f3friend Gen_String& trim (Gen_String& \f2str1\f3, const char* \f2str2\f3);\f1
Removes any occurrence of the character string \f2str2\f1 in the general string
object \f2str1.\f1 This function returns a reference to the modified general string